<?php
get_header();

 
print "<div class=\"subpage_content\">";

if ($pages->total > 0) {
	foreach($pages->items as $page) {
?>
		<h2><?php $page->the_title(); ?></h2>
		<?php $page->the_content(); ?>
<?php
	}
} else {
	nothing_found();
}
print "</div>";


get_footer();
?>